﻿@model DTcms.Model.BaseModel
@{
    ViewBag.Title = "站内短信息-" + Model.site.seo_title;
    var m = (DTcms.Model.user_message)Model.info["model"];
}
@section HeaderContent{

}
<div class="layui-container fly-marginTop fly-user-main">
    <!--页面左边-->
    @Html.Partial("_ucenter_nav")
    <!--页面左边-->
    <div class="site-tree-mobile layui-hide"><i class="layui-icon">&#xe602;</i></div>
    <div class="site-mobile-shade"></div>
    <div class="fly-panel fly-panel-user" pad20>
        <div class="layui-tab layui-tab-brief" lay-filter="user">
            <ul class="layui-tab-title" id="LAY_mine">
                <li class=""><a href="@Html.linkurl("usercenter","proinfo")"><i class="iconfont icon-plus"></i>写消息</a></li>
                <li class="layui-this"><a href="@Html.linkurl("usercenter","password")">系统消息</a></li>
                <li class=""><a href="@Html.linkurl("usercenter","avatar")">收件箱</a></li>
                <li class=""><a href="@Html.linkurl("usercenter","avatar")">发件箱</a></li>
            </ul>
            <div class="right-auto">
                <div class="bg-wrap" style="min-height:765px;">
                    <div class="sub-tit">
                        <a class="add" href="javascript:history.go(-1);"><i class="iconfont icon-reply"></i>返回</a>
                        <ul>
                            <li class="selected">
                                <a href="javascript:;">查看短消息</a>
                            </li>
                        </ul>
                    </div>
                    <div class="meta">
                        <h2>@m.title</h2>
                        <div class="info">
                            <span><i class="iconfont icon-date"></i>@m.post_time</span>
                            @if (m.type == 2)
                            {
                                <span><i class="iconfont icon-user"></i>发件人：@m.post_user_name</span>
                            }
                            else
                            {
                                <span><i class="iconfont icon-user"></i>收件人：@m.accept_user_name</span>
                            }
                        </div>
                    </div>
                    <div class="entry">
                        @Html.Raw(m.content)
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
@section Scripts{

}